//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['AHL Atlantic Division Semifinals: Hershey Bears vs. TBD - Home Game 1 (Date: TBD)','Giant Center','Hershey, PA','Sunday','4/28/2024','TBD','6353769','AHL-Atlantic-Division-Semifinals--Hershey-Bears-vs--TBD---Home-Game-1--Date--TBD--4-28-2024'],['AHL Atlantic Division Semifinals: Hershey Bears vs. TBD - Home Game 2 (Date: TBD)','Giant Center','Hershey, PA','Tuesday','4/30/2024','TBD','6353770','AHL-Atlantic-Division-Semifinals--Hershey-Bears-vs--TBD---Home-Game-2--Date--TBD--4-30-2024'],['NF - Nate Feuerstein','Giant Center','Hershey, PA','Tuesday','5/21/2024','8:00 PM','5952329','NF---Nate-Feuerstein-5-21-2024'],['WWE: Raw','Giant Center','Hershey, PA','Monday','6/3/2024','7:30 PM','6241812','WWE--Raw-6-3-2024'],['Cage The Elephant, Young The Giant & Bakar','Climate Pledge Arena','Seattle, WA','Saturday','6/22/2024','6:30 PM','6297211','Cage-The-Elephant--Young-The-Giant---Bakar-6-22-2024'],['Cage The Elephant & Young The Giant','Moody Center ATX','Austin, TX','Thursday','7/11/2024','6:30 PM','6297225','Cage-The-Elephant---Young-The-Giant-7-11-2024'],['Melanie Martinez','Giant Center','Hershey, PA','Wednesday','7/31/2024','7:00 PM','6373073','Melanie-Martinez-7-31-2024'],['Kidz Bop Live','Giant Center','Hershey, PA','Sunday','8/4/2024','4:00 PM','6220147','Kidz-Bop-Live-8-4-2024'],['Cage The Elephant, Young The Giant & Bakar','Ruoff Music Center','Noblesville, IN','Wednesday','8/7/2024','6:30 PM','6297230','Cage-The-Elephant--Young-The-Giant---Bakar-8-7-2024'],['Phil Wickham & Brandon Lake','Giant Center','Hershey, PA','Thursday','8/8/2024','7:00 PM','6314883','Phil-Wickham---Brandon-Lake-8-8-2024'],['Cage The Elephant, Young The Giant & Bakar','Canada Life Centre','Winnipeg, Canada','Saturday','8/10/2024','6:30 PM','6297206','Cage-The-Elephant--Young-The-Giant---Bakar-8-10-2024'],['Cage The Elephant, Young The Giant & Bakar','Target Center','Minneapolis, MN','Monday','8/12/2024','6:30 PM','6297234','Cage-The-Elephant--Young-The-Giant---Bakar-8-12-2024'],['Cage The Elephant, Young The Giant & Bakar','Van Andel Arena','Grand Rapids, MI','Friday','8/16/2024','7:30 PM','6297239','Cage-The-Elephant--Young-The-Giant---Bakar-8-16-2024'],['Cage The Elephant & Young The Giant','Saratoga Performing Arts Center','Saratoga Springs, NY','Sunday','8/18/2024','6:30 PM','6297240','Cage-The-Elephant---Young-The-Giant-8-18-2024'],['Cage The Elephant, Young The Giant & Bakar','Bank of New Hampshire Pavilion','Gilford, NH','Wednesday','8/21/2024','6:30 PM','6297242','Cage-The-Elephant--Young-The-Giant---Bakar-8-21-2024'],['Cage The Elephant, Young The Giant & Bakar','PNC Bank Arts Center','Holmdel, NJ','Saturday','8/24/2024','6:30 PM','6297244','Cage-The-Elephant--Young-The-Giant---Bakar-8-24-2024'],['Cage The Elephant, Young The Giant & Bakar','Centre Bell','Montreal, Canada','Monday','8/26/2024','6:30 PM','6297208','Cage-The-Elephant--Young-The-Giant---Bakar-8-26-2024'],['Cage The Elephant, Young The Giant & Bakar','Riverbend Music Center','Cincinnati, OH','Friday','8/30/2024','6:30 PM','6297246','Cage-The-Elephant--Young-The-Giant---Bakar-8-30-2024'],['Cage The Elephant, Young The Giant & Bakar','TD Pavilion at The Mann Center For The Performing Arts','Philadelphia, PA','Friday','9/6/2024','7:00 PM','6297249','Cage-The-Elephant--Young-The-Giant---Bakar-9-6-2024'],['Cage The Elephant, Young The Giant & Bakar','Blossom Music Center','Cuyahoga Falls, OH','Monday','9/9/2024','6:30 PM','6297251','Cage-The-Elephant--Young-The-Giant---Bakar-9-9-2024'],['Cage The Elephant, Young The Giant & Bakar','Pine Knob Music Theatre','Clarkston, MI','Tuesday','9/10/2024','6:30 PM','6297253','Cage-The-Elephant--Young-The-Giant---Bakar-9-10-2024'],['Cage The Elephant, Young The Giant & Bakar','Hollywood Casino Amphitheatre - MO','Maryland Heights, MO','Thursday','9/12/2024','6:30 PM','6297254','Cage-The-Elephant--Young-The-Giant---Bakar-9-12-2024'],['Cage The Elephant, Young The Giant & Bakar','CHI Health Center Omaha','Omaha, NE','Monday','9/16/2024','6:30 PM','6297257','Cage-The-Elephant--Young-The-Giant---Bakar-9-16-2024'],['Bourbon & Beyond: Tyler Childers, Zach Bryan, Dave Matthews Band & Neil Young - 4 Day Pass','Highland Festival Grounds at Kentucky Expo Center','Louisville, KY','Thursday','9/19/2024','TBD','5956614','Bourbon---Beyond--Tyler-Childers--Zach-Bryan--Dave-Matthews-Band---Neil-Young---4-Day-Pass-9-19-2024'],['Bourbon & Beyond: Zach Bryan, Cody Jinks, Whiskey Myers & Young The Giant - Saturday','Highland Festival Grounds at Kentucky Expo Center','Louisville, KY','Saturday','9/21/2024','12:00 PM','6232542','Bourbon---Beyond--Zach-Bryan--Cody-Jinks--Whiskey-Myers---Young-The-Giant---Saturday-9-21-2024'],['Sebastian Maniscalco','Giant Center','Hershey, PA','Sunday','10/6/2024','7:00 PM','6115255','Sebastian-Maniscalco-10-6-2024'],['Jim Gaffigan','Giant Center','Hershey, PA','Friday','11/8/2024','7:00 PM','6293622','Jim-Gaffigan-11-8-2024']],'Giant Center','http://www.ticketnetwork.com/ticket/Giant-Center-events.aspx');